#pragma once
#include "EventLoop.h"
#include "Sock.h"
#include "Channel.h"
#include"Acceptor.h"
class TcpServer
{
public:
    TcpServer(const uint16_t port);
    ~TcpServer();

    void start();
private:
    EventLoop loop_;
    Acceptor *acceptor_; 
};